import React from 'react';
import { connect } from 'react-redux';
import ChangeVisitReminder from '../components/Home/details/ChangeVisitReminder';

class ChangeVisitRemindContainer extends React.Component {
  render() {
    return (
      <ChangeVisitReminder {...this.props} />
    );
  }
}

export default connect((state) => {
  const { cVisitRemind, aVisitRemind } = state.MyCustomerDetailReducer;
  return {
    cVisitRemind,
    aVisitRemind,
  };
})(ChangeVisitRemindContainer);
